home *** CD-ROM | disk | FTP | other *** search
- Path: explorer.sasknet.sk.ca!not-for-mail
- From: carbccc@explorer.sasknet.sk.ca (Collin Carbno)
- Newsgroups: comp.lang.c++
- Subject: Creating your own sounds in Windows without recording?
- Date: 9 Apr 1996 17:06:41 -0600
- Organization: ExplorerPlus
- Message-ID: <4keqi1$lfv@explorer.sasknet.sk.ca>
- NNTP-Posting-Host: explorer.sasknet.sk.ca
-
- I wrote a C++ program that writes -- prints out postscript files for music.
- It would really be wonderful, if I could also make the program play the
- musical notes. I have Borland 3.1 C++ and Sound Blaster Pro card. I've
- checked through all window API's and the MIDI type functions I can find,
- and while they seem to let one play anysort of wave file, but I don't see
- any way short of recording every note to get the program to play a musical
- piece. Also, one would like to superimpose the sounds.
-
- I know that there is the old sound function for use with dos.
- Sound(unsigned frequency). Can one form something a little better for say
- windows program that would use the sound blaster card -- allowing cords.
-
- Do any of the sound file types have simple format and one could use to say
- take a wave form -- drawn by hand, and create a sound file to create that
- sound?
-
- Is there some way to directly tell the card you want a given note for a
- given duration, and can you que several such notes to the card? I have an
- old tandy computer that has a sound chip in it, the tandy basic could que 3
- sounds simulateously to the sound chip.
-
- Collin Carbno
- collin.carbno@sasknet.sk.ca
- Physicist
- Saskatchewan Telecommunications
-
-
-